package com.show.pm.entity.information;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 商品品牌类
 * @author yp
 * @Date 2020-11-26-20:56
 */
@TableName("tb_brand")
@Data
public class Brand implements Serializable {
    //id自增
    @TableId(type = IdType.AUTO)
    private Integer id;
    //商品名称
    private String name;
    //商品首字母
    private String firstChar;

    public Brand() {
    }

    public Brand(Integer id, String name, String firstChar) {
        this.id = id;
        this.name = name;
        this.firstChar = firstChar;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFirstChar() {
        return firstChar;
    }

    public void setFirstChar(String firstChar) {
        this.firstChar = firstChar;
    }
}
